package cn.iocoder.yudao.module.member.assets.convert;

import cn.iocoder.yudao.module.member.assets.dal.dataobject.CryptocurrencyIncreasingTaskDO;
import cn.iocoder.yudao.module.member.assets.vo.AdminCryptocurrencyIncreasingTaskVO;
import cn.iocoder.yudao.module.member.assets.vo.AppCryptocurrencyIncreasingTaskVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 *  这里是文件说明
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/03/04
 */
@Mapper
public interface CryptocurrencyIncreasingTaskConvert {

    CryptocurrencyIncreasingTaskConvert INSTANCE = Mappers.getMapper(CryptocurrencyIncreasingTaskConvert.class);

    @Mapping(target = "user", ignore = true)
    AdminCryptocurrencyIncreasingTaskVO convert(CryptocurrencyIncreasingTaskDO bean);

    AppCryptocurrencyIncreasingTaskVO convert2(CryptocurrencyIncreasingTaskDO bean);

    List<AdminCryptocurrencyIncreasingTaskVO> convertList(List<CryptocurrencyIncreasingTaskDO> list);

}
